package com.uls.czj.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 房屋修缮管理对象 czj_propertymaintenance
 * 
 * @author czj
 * @date 2024-11-10
 */
public class CzjPropertymaintenance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 修缮id */
    private Long maintenanceid;

    /** 房屋id */
    @Excel(name = "房屋id")
    private Long propertyid;

    /** 维修类型，值: 电力维修, 管道维修, 墙体修复, 其他 */
    @Excel(name = "维修类型，值: 电力维修, 管道维修, 墙体修复, 其他")
    private String maintenancetype;

    /** 维修日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintenancedate;

    /** 维修状态，值: 完成, 待修, 进行中 */
    @Excel(name = "维修状态，值: 完成, 待修, 进行中")
    private String maintenancestatus;

    /** 维修费用 */
    @Excel(name = "维修费用")
    private BigDecimal maintenancecost;

    /** 维修负责人id */
    @Excel(name = "维修负责人id")
    private Long responsibleperson;

    /** 负责人联系方式 */
    @Excel(name = "负责人联系方式")
    private String responsiblecontact;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdby;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdtime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedby;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedtime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedby;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedtime;

    public void setMaintenanceid(Long maintenanceid) 
    {
        this.maintenanceid = maintenanceid;
    }

    public Long getMaintenanceid() 
    {
        return maintenanceid;
    }
    public void setPropertyid(Long propertyid) 
    {
        this.propertyid = propertyid;
    }

    public Long getPropertyid() 
    {
        return propertyid;
    }
    public void setMaintenancetype(String maintenancetype) 
    {
        this.maintenancetype = maintenancetype;
    }

    public String getMaintenancetype() 
    {
        return maintenancetype;
    }
    public void setMaintenancedate(Date maintenancedate) 
    {
        this.maintenancedate = maintenancedate;
    }

    public Date getMaintenancedate() 
    {
        return maintenancedate;
    }
    public void setMaintenancestatus(String maintenancestatus) 
    {
        this.maintenancestatus = maintenancestatus;
    }

    public String getMaintenancestatus() 
    {
        return maintenancestatus;
    }
    public void setMaintenancecost(BigDecimal maintenancecost) 
    {
        this.maintenancecost = maintenancecost;
    }

    public BigDecimal getMaintenancecost() 
    {
        return maintenancecost;
    }
    public void setResponsibleperson(Long responsibleperson) 
    {
        this.responsibleperson = responsibleperson;
    }

    public Long getResponsibleperson() 
    {
        return responsibleperson;
    }
    public void setResponsiblecontact(String responsiblecontact) 
    {
        this.responsiblecontact = responsiblecontact;
    }

    public String getResponsiblecontact() 
    {
        return responsiblecontact;
    }
    public void setCreatedby(String createdby) 
    {
        this.createdby = createdby;
    }

    public String getCreatedby() 
    {
        return createdby;
    }
    public void setCreatedtime(Date createdtime) 
    {
        this.createdtime = createdtime;
    }

    public Date getCreatedtime() 
    {
        return createdtime;
    }
    public void setUpdatedby(String updatedby) 
    {
        this.updatedby = updatedby;
    }

    public String getUpdatedby() 
    {
        return updatedby;
    }
    public void setUpdatedtime(Date updatedtime) 
    {
        this.updatedtime = updatedtime;
    }

    public Date getUpdatedtime() 
    {
        return updatedtime;
    }
    public void setDeletedby(String deletedby) 
    {
        this.deletedby = deletedby;
    }

    public String getDeletedby() 
    {
        return deletedby;
    }
    public void setDeletedtime(Date deletedtime) 
    {
        this.deletedtime = deletedtime;
    }

    public Date getDeletedtime() 
    {
        return deletedtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("maintenanceid", getMaintenanceid())
            .append("propertyid", getPropertyid())
            .append("maintenancetype", getMaintenancetype())
            .append("maintenancedate", getMaintenancedate())
            .append("maintenancestatus", getMaintenancestatus())
            .append("maintenancecost", getMaintenancecost())
            .append("responsibleperson", getResponsibleperson())
            .append("responsiblecontact", getResponsiblecontact())
            .append("createdby", getCreatedby())
            .append("createdtime", getCreatedtime())
            .append("updatedby", getUpdatedby())
            .append("updatedtime", getUpdatedtime())
            .append("deletedby", getDeletedby())
            .append("deletedtime", getDeletedtime())
            .toString();
    }
}
